package org.csu.forum.domain.PO;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import org.springframework.stereotype.Component;

@Component
@TableName("titlepost")
@Data
public class Titlepost {

    @TableField("post_id")
    private int postid;

    @TableField("title")
    private String title;

    @TableField("content")
    private String content;

    @TableField("zone_id")
    private int zoneid;

    @TableField("is_top")
    private Boolean istop;

    @TableField("is_esscence")
    private Boolean isesscence;

    @TableField("is_report")
    private Boolean isreport;

    @TableField("is_vote")
    private Boolean isvote;

    @JsonIgnore
    @TableField(exist = false)
    private int sectionid;
}
